﻿<UserControl x:Class="SilveR.AnalysisView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <controls:TabControl Name="tabControlAnalysis" TabStripPlacement="Top" SelectedIndex="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">

            <controls:TabItem Header="Settings" Name="tabSettings">
            </controls:TabItem>

            <controls:TabItem Header="Log" Name="tabLog">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="30"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <TextBox Grid.Row="1" HorizontalAlignment="Stretch" Margin="3,3,3,3" Name="txtLog" VerticalAlignment="Top" VerticalScrollBarVisibility="Auto" IsReadOnly="True" />
                    <StackPanel Grid.Row="0" Orientation="Horizontal">
                        <StackPanel.Resources>
                            <Storyboard x:Name="textAnimation" >
                                <DoubleAnimation Storyboard.TargetName="reportText" Storyboard.TargetProperty="FontSize" BeginTime="0" Duration="0:0:06" From="2" To="12" />
                            </Storyboard>
                        </StackPanel.Resources>
                        <Button x:Name="btnReport" Content="View Report" Click="report_Click" Height="23" Width="80" HorizontalAlignment="Left" Margin="6,3,6,3" IsEnabled="False" VerticalAlignment="Center" />
                        <TextBlock x:Name="reportText" Text="Click 'View Report' to view the results of your analysis" HorizontalAlignment="Left" FontSize="2"  VerticalAlignment="Center" Foreground="DarkSlateBlue" Visibility="Collapsed"/>
                    </StackPanel>
                </Grid>
            </controls:TabItem>
        </controls:TabControl>
    </Grid>
</UserControl>